嵌入式设备参数配置方法、电子设备和存储介质
Published in 发明专利 Invention patent, 2023
Recommended citation: Dayao Ji. (2023). "Embedded device parameter configuration method, electronic device and storage medium." China patent. CN115794233A. https://patents.google.com/patent/CN115794233A
嵌入式设备参数配置方法、电子设备和存储介质
摘要:本发明涉及一种嵌入式设备参数配置方法、电子设备及存储介质,所述方法包括:响应于嵌入式设备的启动,根据设备分区表中的配置参数分区的启动引导程序参数区内的配置参数,对前级启动引导程序各功能模块和外设驱动的参数进行配置;根据所述配置参数分区的内核参数区内的配置参数,由启动引导程序引导操作系统内核,并且传递内核二进制设备树的内存加载地址到操作系统内核;以及根据所述配置参数分区的用户空间参数区内的配置参数,对用户空间内的各个功能模块进行初始化,并且访问所述内核二进制设备树中的参数值。实现了配置参数在内核初始化的早期访问,支持从启动程序到用户空间的统一的全流程配置参数访问。
Embedded device parameter configuration method, electronic device and storage medium
Abstract:The invention relates to a parameter configuration method of embedded equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to the starting of the embedded equipment, and configuring parameters of each functional module and peripheral driver of a front-stage starting bootstrap according to configuration parameters in a starting bootstrap parameter area of a configuration parameter area in an equipment partition table; according to the configuration parameters in the kernel parameter area of the configuration parameter partition, a boot program is started to guide an operating system kernel, and a memory loading address of a kernel binary device tree is transmitted to the operating system kernel; and initializing each functional module in the user space according to the configuration parameters in the user space parameter area of the configuration parameter partition, and accessing the parameter values in the kernel binary device tree. The early access of the configuration parameters in the kernel initialization is realized, and the uniform full-flow configuration parameter access from a starting program to a user space is supported.
Recommended citation:
纪大峣. 嵌入式设备参数配置方法、电子设备和存储介质[P]. 中国:CN115794233A,2023-03-14.
D. Ji,”Embedded device parameter configuration method, electronic device and storage medium,” China Patent CN115794233A, March 14,2023.
